<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>质数</title>
    <script>
      function isPrimeNumber(num) {
        let isPrime = true
        for (let i = 2; i <= Math.sqrt(num); i++) {
          if (num % i == 0) {
            isPrime = false
            break
          }
        }
        return isPrime
      }
    </script>
  </head>
  <body></body>
</html>
